import type { ShopRentRecordVO, ShopVO, ShopOwnerVO } from './types'

// 模拟店铺数据
export const mockShopList = (): ShopVO[] => [
  {
    id: 1,
    shopName: '阳光餐厅',
    shopCode: 'SP001',
    shopType: 1,
    shopTypeName: '餐饮',
    communityId: 1,
    communityName: '阳光花园社区',
    buildingId: 1,
    buildingName: 'A栋',
    unitId: 1,
    unitName: '1单元',
    roomNumber: '101',
    floorNumber: 1,
    area: 120.5,
    rentPrice: 8000.00,
    contactPerson: '张经理',
    contactPhone: '13800138001',
    businessLicense: '91110000123456789X',
    status: 1,
    statusName: '启用',
    remark: '主营川菜，营业时间10:00-22:00',
    createTime: '2024-01-15 10:30:00',
    updateTime: '2024-09-30 14:20:00'
  },
  {
    id: 2,
    shopName: '绿城超市',
    shopCode: 'SP002',
    shopType: 2,
    shopTypeName: '零售',
    communityId: 1,
    communityName: '阳光花园社区',
    buildingId: 1,
    buildingName: 'A栋',
    unitId: 2,
    unitName: '2单元',
    roomNumber: '102',
    floorNumber: 1,
    area: 200.0,
    rentPrice: 12000.00,
    contactPerson: '李老板',
    contactPhone: '13800138002',
    businessLicense: '91110000123456790X',
    status: 1,
    statusName: '启用',
    remark: '24小时营业超市',
    createTime: '2024-02-10 09:15:00',
    updateTime: '2024-09-30 14:20:00'
  },
  {
    id: 3,
    shopName: '便民洗衣店',
    shopCode: 'SP003',
    shopType: 3,
    shopTypeName: '服务',
    communityId: 1,
    communityName: '阳光花园社区',
    buildingId: 2,
    buildingName: 'B栋',
    unitId: 3,
    unitName: '1单元',
    roomNumber: '201',
    floorNumber: 2,
    area: 80.0,
    rentPrice: 5000.00,
    contactPerson: '王师傅',
    contactPhone: '13800138003',
    businessLicense: '91110000123456791X',
    status: 1,
    statusName: '启用',
    remark: '专业干洗，支持上门取送',
    createTime: '2024-03-05 14:20:00',
    updateTime: '2024-09-30 14:20:00'
  }
]

// 模拟店铺业主数据
export const mockShopOwnerList = (): ShopOwnerVO[] => [
  {
    id: 1,
    shopId: 1,
    shopName: '阳光餐厅',
    ownerName: '张经理',
    ownerType: 1,
    ownerTypeName: '业主',
    idCard: '110101199001011234',
    phone: '13800138001',
    email: 'zhang@example.com',
    address: '北京市朝阳区阳光路123号',
    emergencyContact: '张太太',
    emergencyPhone: '13900139001',
    startDate: '2024-01-01',
    endDate: '2024-12-31',
    deposit: 16000.00,
    status: 1,
    statusName: '正常',
    remark: '长期租赁',
    createTime: '2024-01-15 10:30:00',
    updateTime: '2024-09-30 14:20:00'
  },
  {
    id: 2,
    shopId: 2,
    shopName: '绿城超市',
    ownerName: '李老板',
    ownerType: 1,
    ownerTypeName: '业主',
    idCard: '110101199002021234',
    phone: '13800138002',
    email: 'li@example.com',
    address: '北京市朝阳区绿城路456号',
    emergencyContact: '李太太',
    emergencyPhone: '13900139002',
    startDate: '2024-02-01',
    endDate: '2025-01-31',
    deposit: 24000.00,
    status: 1,
    statusName: '正常',
    remark: '连锁超市',
    createTime: '2024-02-10 09:15:00',
    updateTime: '2024-09-30 14:20:00'
  },
  {
    id: 3,
    shopId: 3,
    shopName: '便民洗衣店',
    ownerName: '王师傅',
    ownerType: 2,
    ownerTypeName: '租户',
    idCard: '110101199003031234',
    phone: '13800138003',
    email: 'wang@example.com',
    address: '北京市朝阳区便民路789号',
    emergencyContact: '王太太',
    emergencyPhone: '13900139003',
    startDate: '2024-03-01',
    endDate: '2025-02-28',
    deposit: 10000.00,
    status: 1,
    statusName: '正常',
    remark: '专业干洗服务',
    createTime: '2024-03-05 14:20:00',
    updateTime: '2024-09-30 14:20:00'
  }
]

// 模拟租金记录数据
export const mockRentRecordList = (): ShopRentRecordVO[] => [
  {
    id: 1,
    shopId: 1,
    shopName: '阳光餐厅',
    ownerId: 1,
    ownerName: '张经理',
    rentAmount: 8000.00,
    rentDate: '2024-09-01',
    dueDate: '2024-09-30',
    paymentDate: '2024-09-15',
    paymentStatus: 1,
    paymentStatusName: '已支付',
    paymentMethod: '银行转账',
    receiptNumber: 'R202409150001',
    remark: '按时支付',
    createTime: '2024-09-01 10:00:00',
    updateTime: '2024-09-15 14:30:00'
  },
  {
    id: 2,
    shopId: 2,
    shopName: '绿城超市',
    ownerId: 2,
    ownerName: '李老板',
    rentAmount: 12000.00,
    rentDate: '2024-09-01',
    dueDate: '2024-09-30',
    paymentDate: null,
    paymentStatus: 0,
    paymentStatusName: '未支付',
    paymentMethod: null,
    receiptNumber: null,
    remark: '待支付',
    createTime: '2024-09-01 10:00:00',
    updateTime: '2024-09-30 14:20:00'
  },
  {
    id: 3,
    shopId: 3,
    shopName: '便民洗衣店',
    ownerId: 3,
    ownerName: '王师傅',
    rentAmount: 5000.00,
    rentDate: '2024-09-01',
    dueDate: '2024-09-30',
    paymentDate: '2024-09-20',
    paymentStatus: 1,
    paymentStatusName: '已支付',
    paymentMethod: '支付宝',
    receiptNumber: 'R202409200002',
    remark: '按时支付',
    createTime: '2024-09-01 10:00:00',
    updateTime: '2024-09-20 16:45:00'
  },
  {
    id: 4,
    shopId: 1,
    shopName: '阳光餐厅',
    ownerId: 1,
    ownerName: '张经理',
    rentAmount: 8000.00,
    rentDate: '2024-08-01',
    dueDate: '2024-08-31',
    paymentDate: null,
    paymentStatus: 2,
    paymentStatusName: '逾期',
    paymentMethod: null,
    receiptNumber: null,
    remark: '逾期未支付',
    createTime: '2024-08-01 10:00:00',
    updateTime: '2024-09-30 14:20:00'
  },
  {
    id: 5,
    shopId: 2,
    shopName: '绿城超市',
    ownerId: 2,
    ownerName: '李老板',
    rentAmount: 12000.00,
    rentDate: '2024-08-01',
    dueDate: '2024-08-31',
    paymentDate: '2024-08-25',
    paymentStatus: 1,
    paymentStatusName: '已支付',
    paymentMethod: '微信支付',
    receiptNumber: 'R202408250003',
    remark: '按时支付',
    createTime: '2024-08-01 10:00:00',
    updateTime: '2024-08-25 11:20:00'
  },
  {
    id: 6,
    shopId: 3,
    shopName: '便民洗衣店',
    ownerId: 3,
    ownerName: '王师傅',
    rentAmount: 5000.00,
    rentDate: '2024-08-01',
    dueDate: '2024-08-31',
    paymentDate: '2024-08-28',
    paymentStatus: 1,
    paymentStatusName: '已支付',
    paymentMethod: '现金',
    receiptNumber: 'R202408280004',
    remark: '按时支付',
    createTime: '2024-08-01 10:00:00',
    updateTime: '2024-08-28 15:30:00'
  }
]
